#pragma once

/*-----------------------------------------------------------
Message definations
------------------------------------------------------------*/

enum WM_GEOM_COMMAND
{
WM_GEOM_BASE = WM_USER+500,

//-----------------------------------------------------------
// start editor
// WPARAM: command id
// LPARAM: command from
// if command is CS_TOOLPAGE_COMMAND, command id is (page id,button id)
WM_GEOM_STARTEDITOR,

// property
// WPARAM: GEOM_PROP_ACTION
WM_GEOM_PROPACTION,

// receive message from frame
WM_GEOM_COMMON_MESSAGE,

//
WM_GEOM_HELP_COMMOND,

//plane message
// WPARAM: GEOM_PLANE_MESSAGE
WM_GEOM_PLANE

};
enum GEOM_COMMAND_STYLE
{
	GCS_UINT_ID,
	GCS_STR_ID
};


enum GEOM_PROP_ACTION
{
	GPA_NEW_PROP,		 // LPARAM: CPropHolder*
	GPA_UIVALUE_CHANGED, // lParam id;
	GPA_CLEAR,
	GPA_SHOW_SELECTED_PROP
};

enum GEOM_COMMON_MESSAGE
{
	GCM_BROWER_DOC,
	GCM_FILE_EXPORT,
	GCM_FILE_IMPORT
};


enum GEOM_HELP_MESSAGE
{
	GHM_NAVIGATE_NEW
};

enum GEOM_PLANE_MESSAGE
{
	GPM_NEW_PLANE // LPARAM: STD_SKETCH_PLANE
};